import axios from "../../utils/axios";
/**
 *  2.0版本
 */
//  entityBusiness/merchantsCommodityToExamine
export function getList(query) {
    return axios({
        url: "/liveGoods/getList",
        method: "get",
        params: query
    });
}
//  entityBusiness/merchantsCommodityToExamine
export function merchantsList(query) {
    return axios({
        url: "/liveGoods/getAuthAdminPage",
        method: "post",
        params: query
    });
}
export function addLiveGoods(data) {
    return axios({
        url: "/liveGoods/addLiveGoods",
        method: "post",
        data: data
    });
}

export function delLiveGoods(query) {
    return axios({
        url: "/liveGoods/delLiveGoods",
        method: "post",
        data: query
    });
}

//  entityBusiness/merchantsCommodityToExamine
export function getMerchantsGoods(query) {
    return axios({
        url: "/liveGoods/getGoodsList",
        method: "get",
        params: query
    });
}
